<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>学生信息管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../static/lib/layui/css/layui.css" media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<ul class="layui-nav layui-bg-green">
    <li class="layui-nav-item "><a href="/teacherIndex">个人信息</a></li>
    <li class="layui-nav-item "><a href="/studentInfo" id="stu_lesson">学生成绩录入</a></li>
    <li class="layui-nav-item " ><a href="/teacherScore">学生成绩查询</a></li>

    <li class="layui-nav-item layui-this"><a href="/teacherMore">更多操作</a></li>
</ul>
<div class="layui-form">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>教职工编号</th>
            <th>姓名</th>
            <th>教授的课程</th>
            <th>学分</th>
            <th>学时</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td> {{ teacherId }}</td>
            <td> {{ teacherName }}</td>
            <td> {{ lesson }}</td>
            <td> {{ credit }}</td>
            <td> {{ time }}</td>
            <td> <a href="/updatePwd?flag=2" class="layui-btn layui-btn-sm">修改密码</a>
            &nbsp&nbsp&nbsp&nbsp
                <a href="/outSys" class="layui-btn layui-btn-sm">退出登录</a></td>
        </tr>
        </tbody>
    </table>
</div>
<script src="../static/lib/layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use('element', function () {
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

        //监听导航点击
        element.on('nav(demo)', function (elem) {
            //console.log(elem)
            layer.msg(elem.text());
        });

    });
</script>

</body>
</html>